package org.example.design.state.test2;

/**
 * @author huangshen
 * @version 0
 * @description StartState
 * @since 2022/2/14 11:18
 */
public class StartState  implements State {

    public void doAction(Context context) {
        System.out.println("执行开始state");
        context.setState(this);
    }

    @Override
    public String toString(){
        return "Start State";
    }
}
